package cn.explink.dop.entity.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import cn.explink.distributor.framework.CommonTarget;

/**
 * 
* @ClassName: PostmanVO 
* @Description: 配送人员信息表（对方）
* @author 小强
* @date 2015年6月24日 下午4:01:19 
*
 */
@Entity
@Table(name = "postman")
public class PostmanVO  extends CommonTarget implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	private Integer id;	
	
	private String jobnum;
	
	private String name;
	
	private String phone;
	
	private Integer status;
	
	private Integer companyid;
	
	private String companyname;
	
	private String alipayaccount;
	
	private String qrcode;
	
	private String content;
	
	private Date createtime;
	
	private Integer isreg;
	
	private String password;
	
	private String companycode;
	
	private String headimgurl;
	
	private String idcardno;
	
	private String zonecode;
	
	private String openunid;
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name = "id", nullable = false, length = 32)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	@Column(name = "job_num")
	public String getJobnum() {
		return jobnum;
	}

	public void setJobnum(String jobnum) {
		this.jobnum = jobnum;
	}
	
	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "phone")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "status",columnDefinition="smallint")
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "company_id")
	public Integer getCompanyid() {
		return companyid;
	}

	public void setCompanyid(Integer companyid) {
		this.companyid = companyid;
	}

	@Column(name = "company_name")
	public String getCompanyname() {
		return companyname;
	}

	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}

	@Column(name = "alipay_account")
	public String getAlipayaccount() {
		return alipayaccount;
	}

	public void setAlipayaccount(String alipayaccount) {
		this.alipayaccount = alipayaccount;
	}

	@Column(name = "qr_code",columnDefinition="text")
	public String getQrcode() {
		return qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}

	@Column(name = "content",columnDefinition="text")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name = "create_time")
	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Column(name = "is_reg",columnDefinition="smallint")
	public Integer getIsreg() {
		return isreg;
	}

	public void setIsreg(Integer isreg) {
		this.isreg = isreg;
	}

	@Column(name = "password")
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "company_code")
	public String getCompanycode() {
		return companycode;
	}

	public void setCompanycode(String companycode) {
		this.companycode = companycode;
	}

	@Column(name = "head_img_url")
	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	@Column(name = "id_card_no")
	public String getIdcardno() {
		return idcardno;
	}

	public void setIdcardno(String idcardno) {
		this.idcardno = idcardno;
	}

	@Column(name = "zone_code")
	public String getZonecode() {
		return zonecode;
	}

	public void setZonecode(String zonecode) {
		this.zonecode = zonecode;
	}

	@Column(name = "open_unid")
	public String getOpenunid() {
		return openunid;
	}

	public void setOpenunid(String openunid) {
		this.openunid = openunid;
	}

	
}
